using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class Comm_UploadOK : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        long bugNo = long.Parse(Request.Params["B"]);
        string fileNo = Request.Params["F"];
        lnkShowBug.NavigateUrl = string.Format("../BMS/ShowBug.aspx?B={0}", bugNo);
        lnkFile.Text = fileNo;
        lnkFile.NavigateUrl = string.Format("EditAttachment.aspx?F={0}", fileNo);
        lnkUpload.NavigateUrl = string.Format("Attachment.aspx?B={0}", bugNo);

        HtmlGenericControl meta = new HtmlGenericControl("meta");
        meta.Attributes.Add("HTTP-EQUIV", "REFRESH");
        meta.Attributes.Add("content", string.Format("5; URL=../BMS/ShowBug.aspx?B={0}", bugNo));
        Header.Controls.Add(meta);
    }
}
